﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="consumpreview.aspx.cs"
    Inherits="LabMS.Web.Equipment.Consum.consumpreview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" rel="stylesheet" href="../../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../../style/ie7.css" />
    <![endif]-->

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript">
    function foo()
   {
    url = "consumedit.aspx?id=<%=strID %>"; 
    RedirectURL(window,url) 
  }  
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        <a href="consumlist.aspx">耗材一览</a></label>&gt;查看耗材信息
                </div>
            </div>
        </div>
        <div class="main">
            <p>
           <% if (UserType == "mana")
                {%> 
                <input id="lbEdit" type="button" onclick="foo()" class="button" value="修改" />
                <asp:Button ID="btnDel" runat="server" CssClass="button" OnClientClick="javascript:return confirm('你确认要删除这些易耗品吗?')"
                    Text="删除" OnClick="btnDel_Click" />
                   <%} %>   
                <input id="lbCancel" type="button" class="button" onclick="RedirectURL(window, 'consumlist.aspx')"
                    value="返回" />
            </p>
            <table border="0" cellpadding="4" cellspacing="0">
                <tr>
                    <td>
                        <label class="itemTitle">
                            耗材编号:</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbCNub" runat="server"></asp:Label>
                    </td>
                    <td rowspan="6" colspan="2" align="left">
                        <asp:Image AlternateText="" ID="EquipPhoto" runat="server" Width="100" Height="120" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            耗材类别:</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCClass" Enabled="false" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            耗材名称:</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbCName" runat="server"></asp:Label>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            分类号码:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbClassNub" runat="server"></asp:Label>
                    </td>
                    <td></td>
                    </tr>
                    <tr>
                    <td>
                        <label class="itemTitle">
                            型&nbsp; &nbsp; 号</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbTypeNub" runat="server"></asp:Label>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            库存位置:</label>
                    </td>
                    <td>
                       <asp:Label ID="tbLocation" runat="server"></asp:Label>
                    </td>
                    <td>
                    </td>
                    </tr>
                    <tr>
                    <td>
                        <label class="itemTitle">
                            生产国别:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbCountry" runat="server"></asp:Label>&nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            数&nbsp; &nbsp;量:</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbNub" runat="server" Text="1"></asp:Label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            出厂编号:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbFNub" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            单&nbsp; &nbsp;价:</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbPrice" runat="server"></asp:Label>
                    </td>
                    <td>
                        <label class="itemTitle">
                            单 据 号:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbDocuments" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            单&nbsp; &nbsp;位:</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlModle" Enabled="false" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            购置日期:</label><span style="color: #ff0000">*</span>
                    </td>
                    <td>
                        <asp:Label ID="lbBuyDate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            来&nbsp; &nbsp;源:</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlComeFrom" Enabled="false" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            出厂日期:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbProduceDate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            使用方向:</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlArrow" Enabled="false" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            创建日期:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbCreatDate" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            经费科目:</label>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlFundsSubject" Enabled="false" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label class="itemTitle">
                            供 应 商:</label>
                    </td>
                    <td>
                        <asp:Label ID="lbVENDOR" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label class="itemTitle">
                            用途:</label></td>
                    <td colspan="3">
                        <asp:Label ID="lbPurpose" runat="server"></asp:Label></td>
                </tr>
            </table>
            <asp:Label ID="lbErr" runat="server" ForeColor="Red" Text="Err" Visible="False"></asp:Label>
        </div>
        <asp:Label ID="lbPageName" Visible="false" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lbCID" runat="server" Text="Label" Visible="false"></asp:Label>
        <div style="display: none">
            <asp:TextBox ID="tbLocationCode" runat="server"></asp:TextBox>
        </div> 
    </form>
</body>
</html>
